package com.eric.windows.anima;

import android.util.Property;

/**
 * <h3>Description</h3>
 * TODO
 * <h3>Author</h3> Eric
 * <h3>Date</h3> 2017/7/28 17:31
 * <h3>Copyright</h3> Copyright (c)2017 Shenzhen TLIT  Co., Ltd. Inc. All rights reserved.
 */
class RadiusProperty extends Property<CircleAnim, Float> {
    public RadiusProperty(Class type, String name) {
        super(type, name);
    }

    @Override
    public Float get(CircleAnim object) {
        return object.getRadius();
    }

    @Override
    public void set(CircleAnim object, Float value) {
        object.setRadius(value);
    }
}
